<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Retrieve XML from current node, including it self</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="xmlreader.readinnerxml.html">XMLReader::readInnerXML</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="xmlreader.readstring.html">XMLReader::readString</a></div>
 <div class="up"><a href="class.xmlreader.html">XMLReader</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="xmlreader.readouterxml" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">XMLReader::readOuterXML</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.2.0)</p><p class="refpurpose"><span class="refname">XMLReader::readOuterXML</span> &mdash; <span class="dc-title">Retrieve XML from current node, including it self</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-xmlreader.readouterxml-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><strong>XMLReader::readOuterXML</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Reads the contents of the current node, including the node itself.
  </p>
 </div>

 
 <div class="refsect1 parameters" id="refsect1-xmlreader.readouterxml-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-xmlreader.readouterxml-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the contents of current node, including itself, as a string. Empty string on failure.
  </p>
 </div>

 

 
 <div class="refsect1 notes" id="refsect1-xmlreader.readouterxml-notes">
  <h3 class="title">注释</h3>
  <div class="caution"><strong class="caution">Caution</strong><p class="para">此函数仅在 PHP 与 libxml 20620 或以上版本编译时可用。</p></div>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-xmlreader.readouterxml-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="xmlreader.readstring.html" class="function" rel="rdfs-seeAlso">XMLReader::readString()</a> - Reads the contents of the current node as a string</span></li>
    <li class="member"><span class="function"><a href="xmlreader.readinnerxml.html" class="function" rel="rdfs-seeAlso">XMLReader::readInnerXML()</a> - Retrieve XML from current node</span></li>
    <li class="member"><span class="function"><a href="xmlreader.expand.html" class="function" rel="rdfs-seeAlso">XMLReader::expand()</a> - Returns a copy of the current node as a DOM object</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="xmlreader.readinnerxml.html">XMLReader::readInnerXML</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="xmlreader.readstring.html">XMLReader::readString</a></div>
 <div class="up"><a href="class.xmlreader.html">XMLReader</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
